<?php
/**
 * Created by PhpStorm.
 * User: guokunsheng
 * Date: 2019/3/12
 * Time: 16:36
 */

use think\Env;

return [
    'des'=>'京东支付,首单减8~10元',
    'default' => 1,
    'account1' => [
        'appid' => 'jdjr111296591003',// 京东支付的appid
        'version' => 'V2.0',// 版本号
        'merchant' => '111296591002',// 商户号111296591
        'currency' => 'CNY',// 货币种类
        'desKey' => 'l3xoZFdiKUrQbdyrrh9kwYp8USxtXVed', // 	DES秘钥
        'md5Key' => 'pk1wiEhm4HrRmkwcddrqXYkjqopPeIox',// MD5秘钥
        'callbackUrl' => Env::get('host.domain') . '/pay/notify/jd',// callback地址
        'notifyUrl1' => Env::get('host.domain') . '/pay/notify/jd',// notify地址
        'notifyUrl2' => Env::get('host.domain') . '/api/v9/physical_store/notify/jd',// notify地址
        'privateKey' => '-----BEGIN PRIVATE KEY-----
MIICdQIBADANBgkqhkiG9w0BAQEFAASCAl8wggJbAgEAAoGBAL1aarp5KzDP66wc
o518S89/IFDC4nFW/yd0j11i4Vlc3/bsim/7yjGA7LXAdVJGfH7oWXUXIJ1G4Tgs
GvVewNO6SplQuWDUnSrMulseq84ToxONBg2lmG6TRXMEgXtdT1CZSq08GzsERN6u
3L0ShHapX20tFJUpWoluOb9J41IzAgMBAAECgYBjWxItjm7PSgpLYSuo8xOEaRw3
xEq1VgTEWzDuu3erQER0eGGbqO7LUu7h336wETQ6Ewj9m4kNfaenpdzvayyaBGnl
jjEcavR0J5DNX3469nnFcCYVkVuNb5IjVFoJKDd4vDniRsh+I1HOjSPWEyu9YYMC
vVHEmeOBMuPBWS1OAQJBAPCqLJwbcdJOngZ693GWqVZaJCMHyr+dwNR3MGfm0EiV
DJxuk5tSAO000OB9nCJ5dREzzgGjzVAGq+aIqfd38/MCQQDJazoNg4BTBy3XsLd/
nWN53MhkCov6MKUlZLxa0JWvCBkFRHPo0+kJRqcM+gJNvYUsXypRq+e2uZfcpAnw
m/jBAkAHy8t0JyNxx6Aw34zifhnwNS1UgS0dNfQILfBAfWaj40gsTRy0/FwRUxOt
IgSLzVlwfDghL3g4Lm8lIao33QfnAkArl7Fwy00yqxMY435TeFTXQxl7zWyOMYkM
lsjNPuemgjIoGbCca4C8KTZucI2fFa2E9PPLyVDVE0Xy0u3zzU4BAkAm5CaFJrVQ
ZHdf+0AyORa/YJPfcjGGjr4v91j0/ePaKgaBSNHqTugoTHWJkk++N36DQwiJK8S5
vpmLhscaBTqa
-----END PRIVATE KEY-----',// 商户私钥
        'publicKey' => '-----BEGIN PUBLIC KEY-----
MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCKE5N2xm3NIrXON8Zj19GNtLZ8
xwEQ6uDIyrS3S03UhgBJMkGl4msfq4Xuxv6XUAN7oU1XhV3/xtabr9rXto4Ke3d6
WwNbxwXnK5LSgsQc1BhT5NcXHXpGBdt7P8NMez5qGieOKqHGvT0qvjyYnYA29a8Z
4wzNR7vAVHp36uD5RwIDAQAB
-----END PUBLIC KEY-----',// 京东支付DEMO中的公钥！！！
        'refundUrl' => 'https://paygate.jd.com/service/refund',// 退款服务地址
        'serverPayUrl' => 'https://wepay.jd.com/jdpay/saveOrder', // 京东支付服务地址
        'serverQueryUrl' => 'https://paygate.jd.com/service/query',// 京东查询服务地址
        'uniorderUrl' => 'https://paygate.jd.com/service/uniorder',// 扫码创建订单
        'queryRefundUrl' => 'https://paygate.jd.com/service/queryRefund',// 交易号查退款
        'revokeUrl' => 'https://paygate.jd.com/service/revoke',// 撤销地址
        'fkmPayUrl' => 'https://paygate.jdfin.local/service/fkmPay',// 付款码支付
        'getUserRelationUrl' => 'https://paygate.jd.com/service/getUserRelation',// 用户关系查询地址
        'cancelUserRelationUrl' => 'https://paygate.jd.com/service/cancelUserRelation',// 用户关系解绑地址
        'queryBaiTiaoFQUrl' => 'https://paygate.jd.com/service/queryBaiTiaoFQ',// 白条策略查询地址
    ],
];
